Skip to content

feat(relinker): analyze function symbols as code roots - #15032

Merged
oneandonlydean merged 8 commits into
boykopovar:mainfrom
AZLisme:codex/relinker-function-symbol-roots
Nov 7, 2026
Merged

oneandonlydean merged 8 commits into
boykopovar:mainfrom
AZLisme:codex/relinker-function-symbol-roots

Conversation

@AZLisme

@AZLisme AZLisme commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

What

Adds the explicit --function-symbol-roots mode for ELF companion modules whose function-symbol st_size values describe different code. The default strict conversion is unchanged. Fixes #14893 without identifying a title, path, function name or fixed stub pattern.

The mode preserves symbol metadata, validates defined function entries as executable and file-backed, and follows the existing control-flow roots and unwind ranges during Windows/macOS code analysis. It ignores only function-symbol extents; data, TLS and FDE bounds remain checked. In this mode, actual fall-through is followed through zero bytes, direct and resolved indirect targets are validated, and valid targets in another executable segment are analyzed. Unresolved computed jumps retain the existing discovery limits, recorded in docs/dev/debt/relinker.md.

The ELF symbol-table specification distinguishes a symbol address from its optional size. This is an explicit compatibility option for incorrect sizes, not a claim that the original metadata is correct or that all indirect control flow is known.

Integrated frozen main 1e24993fa3a7da25e8fc27152af654687ba64552 in current head bb619a8abbc5ded501c4f368c61d3616e493922f. Preserve main's Windows executable exports, output name and TLS index while applying function-root extent handling to exported functions. Preserve both main's plain/SCE test split and this PR's target/rejection split; all eight groups retain their assertions and original timeouts.

Tested

  • Current head bb619a8abbc5ded501c4f368c61d3616e493922f, Linux x86-64/GCC 16.2.1 Release, relinker-only: built successfully. All 717 registered CTests passed, with no skips, across the full run and 14 corrected-environment retries. The initial 14 failures came from the incomplete CMake on PATH and sandbox restrictions on local HTTP/filesystem tests; the complete CMake and permitted test environment passed all 14 without source or assertion changes. All three function-symbol-root groups, eight guest None groups and Windows executable-export tests passed.
  • Added a Windows visible-function export regression: oversized function metadata actually failed in the output stage before the fix; strict mode still rejects it, while roots mode emits the expected export address and original instruction bytes. Data and TLS overruns are rejected without output in both modes. Independent source review also checked constructor/option propagation and preservation of all 216 None conversions plus four Linux native loads.
  • Current-head conversion of the unchanged public sfiii package from relinker: sfiii-ps5 (PPSA93303) companion libc.prx is refused because its function st_size values are the real libc sizes, not the stub sizes #14893: default strict mode rejects the companion at address 22792 with exit 2 and no output; roots mode exits 0 and creates the executable plus one companion for Linux ELF, Windows PE and macOS Mach-O. All six conversions ran on Linux; input files remained unchanged. No title gameplay or console execution is claimed.
  • Current-head upstream run 41985452480, exact bb619a8a plus frozen main 1e24993f: Linux 717/717, macOS ARM64 706/706, macOS x86-64 under Rosetta 706/706, TLS-only ASan 34/34, all passed without skips. Windows job 127105049968 passed 720/721, with web_release timing out at 20.24 seconds; no skips. All eight None groups, three roots groups and Windows executable-export tests passed there. The Windows aggregate remains failed; there is no proof that main also fails or that it is a flake. That packaging test, its registration/20-second timeout and the three tools it exercises are unchanged from frozen main. Earlier runs keep their original input scopes.
  • Exact-head isolated Windows diagnostic 41987419021 passed the original web_release CTest in 3.17 seconds, with the unchanged 20-second timeout and all 34 internal unittests passing. Product source/tree and its main parent were checked. This was one isolated test on a Windows runner, without the original suite's concurrent workload; it does not erase the upstream timeout or make the full Windows job pass. A maintainer rerun of the failed upstream job has been requested because this account has READ access.
  • git diff origin/main --check and python3 tools/check_conventions.py --base origin/main pass. The overlap check was completed before opening. Known control-flow discovery and noreturn limitations remain in docs/dev/debt/relinker.md.

Checklist

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — no blocking findings

I reviewed all 28 changed files at head 11a32e87545102a39063593df201ce0e0506f8b3; source inspection found no blocker, and the hosted checks were still queued at the final refresh.

What I ran

Reviewed head 11a32e87545102a39063593df201ce0e0506f8b3 against base 3c3b3cda739f9eb00a07fae50d94a3af5f6fb8f2. The exact head previews cleanly against current main. Environment: Debian 12 Linux, Python 3.11.2, GCC 12.2.0. I did not configure or build.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15032 --output-dir /tmp/review-15032
git diff --check 3c3b3cda739f9eb00a07fae50d94a3af5f6fb8f2...11a32e87545102a39063593df201ce0e0506f8b3
python3 tools/check_conventions.py --base 3c3b3cda739f9eb00a07fae50d94a3af5f6fb8f2 --head 11a32e87545102a39063593df201ce0e0506f8b3 --title 'feat(relinker): analyze function symbols as code roots' --body /tmp/review-15032/pr-body.md
python3 -m py_compile core/relinker/relinker/tests/test_function_symbol_roots.py
python3 tools/check_test_registration.py --scripts
python3 tools/pr_stack_check.py 15032 --repo boykopovar/AnyPS5 --output-dir /tmp/review-15032/stack
python3 tools/pr_test_quality.py --root /tmp/review-15032/test-quality --json core/relinker/relinker/tests/test_function_symbol_roots.py
gh pr checks 15032 --repo boykopovar/AnyPS5

The checks selected from the exact head found no test-quality heuristic findings. The precheck wrapper could not find the optional local heuristic script in its isolated snapshot; I reran that heuristic against the exact-head test and CMake files.

Results

Check Result Note
Patch whitespace passed No diagnostics.
Conventions and PR template passed No findings.
Python syntax passed New test script parses.
Test registration passed 243 repository test scripts are registered; new groups are registered in CMake.
Test-quality heuristic passed No heuristic findings; this is not runtime test evidence.
Merge preview passed Clean against current base.
Hosted checks not run Conventions, eligibility, intake and labels were queued.
Precheck wrapper heuristic step failed Helper missing from isolated snapshot; direct exact-head rerun produced no findings.
Unedited outputs from the checks
Precheck wrapper:
/tmp/review-15032/report.md
/tmp/review-15032/report.json
Conclusion: checks failed

Precheck helper stderr:
/usr/bin/python3: can't open file '/tmp/review-15032/head-11a32e875451-535b92e1/tools/pr_test_quality.py': [Errno 2] No such file or directory

Conventions:
All conventions checks passed.

Test registration:
243 test script(s), each run by an add_test or a workflow

Exact-head test-quality heuristic:
{
  "findings": [],
  "negative_control_candidates": [],
  "limits": [
    "Heuristics can miss weak assertions and can flag valid tests; inspect every finding.",
    "A test that passes against base is not by itself proof that the PR test is inadequate.",
    "Negative controls are only candidates until the test actually runs against base and fails by assertion rather than import/setup error."
  ]
}

Merge preview:
# PR stack check — fresh

Target: https://github.com/boykopovar/AnyPS5/pull/15032
Target branch tip: `3c3b3cda739f9eb00a07fae50d94a3af5f6fb8f2`
All heads unchanged: **True**
Dependency order: #15032

## Individual merge previews

- PR #15032: **clean** against current base; head `11a32e87545102a39063593df201ce0e0506f8b3`; changed paths: none reported

## Dependency relationships

No declared PR dependencies were found in the target PR chain.

Hosted checks at final refresh:
conventions	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/41434595138/job/125241185665
eligibility	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/41434595499/job/125241184275
intake	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/41434595250/job/125241186436
labels	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/41434595081/job/125241184892

Negative control

Assertion Change to code under test Did the new test fail?
Invalid function-symbol entries, ranges and reachable truncated instructions are rejected. Not changed. Not run; the test requires an exact-head relinker binary, which I did not build.

Findings

Blocking

None found in the complete source review.

Non-blocking

None.

Sources

Not verified

  • I did not build or run CTest or the new relinker scenarios. The PR description reports broader Linux and Windows builds/tests; those results are author-reported and were not independently verified here.
  • All four hosted checks were queued at the final refresh; cross-platform hosted results are not yet known.
  • Native Windows/macOS execution, console behavior and real-game behavior were not verified in this review.
  • The source-only review does not establish behavior for unresolved indirect jumps beyond the documented discovery limits.

To get this to a good state

No code change is requested from this review. Once the hosted checks finish, I will re-check this exact head and its results, then approve if the required checks pass; if the head changes, I will review the new diff and rerun the affected checks.

@AZLisme

AZLisme commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

@MarcZX10 the head is unchanged at 11a32e87545102a39063593df201ce0e0506f8b3, and the hosted runtime checks have now passed: Build run 41434595499. I checked the logs: each job used this PR head merged with frozen main 98346b748caa.

  • Linux relinker: 564 passed; Windows relinker: 568 passed.
  • macOS arm64 and x86_64 relinker: 553 passed each.
  • The three new function_symbol_roots_* groups passed on all four platforms, including their Windows execution paths.
  • ASan: 34 passed (its separate focused suite). No skipped or failed tests in these jobs. Conventions also passed; only the bookkeeping labels check remains queued.

Please perform the follow-up review you offered and approve if satisfied. @oneandonlydean, please merge this exact head when ready, or identify a concrete remaining condition. The reported conversion blocker is reproduced and fixed with the original public input; no real-game or console execution is claimed, and unresolved computed-jump discovery remains documented. My upstream permission is READ.

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 10861 core/relinker/elfpatcher/include/elfpatcher/windows/WindowsTlsBuilder.hpp L12
core/relinker/elfpatcher/src/macos/MacOsImage.cpp L292, L296, L460
core/relinker/elfpatcher/src/windows/WindowsGuestModuleWriter.cpp L87
core/relinker/elfpatcher/src/windows/WindowsPePatcher.cpp L84-85
core/relinker/elfpatcher/src/windows/WindowsTlsBuilder.cpp L116, L125
core/relinker/relinker/include/relinker/analysis/CodeInstructionCollector.hpp L14
core/relinker/relinker/include/relinker/analysis/UnusedNidFilter/IControlFlowGraph.hpp L33
core/relinker/relinker/src/analysis/CodeInstructionCollector.cpp L46, L136-137, L303-305, L397, L528-544
core/relinker/relinker/src/analysis/UnusedNidFilter/ControlFlowGraph.cpp L37, L41, L171, L174, L212, L217
PR 11525 core/relinker/relinker/include/relinker/pipeline/RelinkerPipeline.hpp L18, L30
core/relinker/relinker/src/pipeline/Conversion.cpp L102
core/relinker/relinker/src/pipeline/RelinkerPipeline.cpp L33, L41
PR 11628 core/relinker/CMakeLists.txt L691
PR 14107 core/relinker/relinker/src/analysis/CodeInstructionCollector.cpp L536
PR 14214 docs/dev/debt/relinker.md L4
PR 15245 core/relinker/cli/src/CliArgs.cpp L74-75
core/relinker/elfpatcher/include/elfpatcher/windows/WindowsElfPatcher.hpp L15
core/relinker/elfpatcher/include/elfpatcher/windows/WindowsExportBuilder.hpp L12
core/relinker/elfpatcher/src/windows/WindowsExportBuilder.cpp L41
core/relinker/elfpatcher/src/windows/WindowsPePatcher.cpp L32, L84-85
core/relinker/relinker/include/relinker/guest/GuestImage.hpp L91
core/relinker/relinker/src/guest/GuestModuleBuilder.cpp L93
core/relinker/relinker/src/pipeline/Conversion.cpp L150, L164
PR 15751 core/relinker/relinker/tests/test_guest_none_relocations.py L337-346, L366-380, L386-399

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 5021 core/relinker/CMakeLists.txt
docs/dev/debt/relinker.md
docs/user/USAGE.md
PR 5925 docs/user/USAGE.md
PR 6149 core/relinker/CMakeLists.txt
PR 6924 docs/user/USAGE.md
PR 7642 docs/user/USAGE.md
PR 9161 core/relinker/CMakeLists.txt
core/relinker/relinker/tests/test_guest_none_relocations.py
PR 9345 docs/user/USAGE.md
PR 9508 docs/user/USAGE.md
PR 10193 docs/user/USAGE.md
PR 10249 core/relinker/elfpatcher/src/macos/MacOsImage.cpp
PR 11661 core/relinker/CMakeLists.txt
core/relinker/elfpatcher/src/windows/WindowsGuestModuleWriter.cpp
core/relinker/elfpatcher/src/windows/WindowsPePatcher.cpp
core/relinker/elfpatcher/src/windows/WindowsTlsBuilder.cpp
docs/dev/debt/relinker.md
PR 11689 core/relinker/CMakeLists.txt
core/relinker/elfpatcher/src/windows/WindowsGuestModuleWriter.cpp
core/relinker/elfpatcher/src/windows/WindowsPePatcher.cpp
core/relinker/elfpatcher/src/windows/WindowsTlsBuilder.cpp
docs/dev/debt/relinker.md
PR 11698 core/relinker/CMakeLists.txt
core/relinker/elfpatcher/src/windows/WindowsGuestModuleWriter.cpp
core/relinker/elfpatcher/src/windows/WindowsPePatcher.cpp
core/relinker/elfpatcher/src/windows/WindowsTlsBuilder.cpp
docs/dev/debt/relinker.md
PR 12746 docs/user/USAGE.md
PR 12910 docs/dev/debt/relinker.md
PR 12970 docs/user/USAGE.md
PR 13486 core/relinker/CMakeLists.txt
PR 13928 docs/user/USAGE.md
PR 13929 docs/user/USAGE.md
PR 14241 docs/dev/debt/relinker.md
PR 15169 docs/user/USAGE.md
PR 15651 docs/dev/debt/relinker.md
PR 15900 core/relinker/CMakeLists.txt

@github-actions github-actions Bot added the fix error Closes an issue (Fixes #N) label Nov 2, 2026
@AZLisme

AZLisme commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

@MarcZX10 @oneandonlydean main's instruction-collection and macOS entry-protection changes caused real conflicts, now resolved at 8e6a509c80c87bd06019a2e4081dade16a076ab6 (ordinary merge of prior head 11a32e875451 with main 0278ca983148). Both sides' behavior is retained; two new roots-mode cases check that TLS/GS rewriting cannot overwrite another executable entry.

The integrated Linux Release relinker-only build and all 570 tests pass; the original public sfiii-ps5 input was rechecked, with strict rejection and successful opt-in conversion unchanged. Conventions pass. The PR's Tested section distinguishes these current-source results from the prior head's successful hosted matrix; that old matrix is not claimed for this new head.

Please review the merge resolution and new tests while the fresh hosted checks run, then merge or identify a concrete remaining issue. No other branches or PRs were changed.

@AZLisme

AZLisme commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

@MarcZX10 @oneandonlydean the fresh hosted matrix for current head 8e6a509c80c87bd06019a2e4081dade16a076ab6 has now finished successfully: run 41448047511, merged into frozen main 0278ca983148dbb9b8b54a267b2aeab0ce8aff37.

Actual logs show Linux 570, Windows 574, macOS arm64 559, macOS x86_64 559 tests passed, without failures or skips; all three new root-mode groups passed in each lane. Windows includes the four native generated-PE executions. The separate ASan lane passed its 34 TLS tests, not the new root-mode groups. I updated Tested to describe this current input and the execution limits; no source/head was changed. The older cancelled conventions job has a successful replacement for this same head.

Please review the small merge-resolution/test delta from your reviewed 11a32e875451 to 8e6a509c80c8, then approve and merge if satisfied, or identify a concrete remaining issue. This addresses the public #14893 conversion blocker with the generic opt-in module; the original input still fails strictly and converts successfully with the new mode. My upstream permission remains READ.

Merge upstream main 4f41f4c while keeping the sorted-vector collector API and both dependency and function-root options. Add a regression for their four combinations.
@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 3, 2026
@AZLisme

AZLisme commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

@MarcZX10 @oneandonlydean the new conflicts with main are resolved at ad9c12659454d099fc989663202e5777cef0ef1a (normal preserving merge of 8e6a509c80c8 and main 4f41f4c375f5). All six resolutions retain the upstream vector collector and dependency-omission option alongside root-mode analysis and TLS/GS entry protection. An independent review found no merge defect.

The integrated Linux Release source passed 683/683 tests. After the final revision-stamp rebuild, the exact committed binary passed the three root-mode groups and CLI version checks again; the original public sfiii input still rejects address 22792 strictly and converts successfully with root mode. A new regression checks all four combinations of root mode and dependency omission, including the dependencies of both executable and companion. Conventions and whitespace checks pass.

Tested now separates this source from the prior head's successful hosted matrix; new-head Windows/macOS results are not claimed. Please review the merge-resolution and combination-test delta, then merge if satisfied or identify a concrete remaining issue. My upstream permission is still READ.

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-checked — new head, no blocking findings

I reviewed the full new head after its preserving merge from main; the source and test changes have no blocking findings, but the new-head relinker checks are still queued, so this is not an approval.

What I ran

Reviewed all 28 changed files at head ad9c12659454d099fc989663202e5777cef0ef1a against base 4f41f4c375f5abb487dbd184fbc150f31994d762. The exact-head stack preview is clean. Environment: Debian 12, Linux x86_64, Python 3.11.2, Git 2.39.5, GCC 12.2.0 available; I did not compile with GCC.

git diff --check 4f41f4c375f5abb487dbd184fbc150f31994d762...ad9c12659454d099fc989663202e5777cef0ef1a
python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15032 --output-dir /tmp/anyps5-pr-precheck/15032-20261103T-current
python3 tools/pr_test_quality.py --root /tmp/anyps5-pr-precheck/15032-20261103T-current/head-ad9c12659454-e78a5749 --json core/relinker/relinker/tests/test_function_symbol_roots.py
gh pr checks 15032 --repo boykopovar/AnyPS5

Results

Check Result Note
Diff and conventions passed Whitespace and repository checks passed.
Python syntax and test registration passed Syntax is valid; all test scripts are registered.
Test-quality heuristic passed No heuristic findings; this is not a test execution.
Current-base merge preview passed The exact head merges cleanly with the current base.
Required new-head CI not run Relinker matrix, conventions and labels are queued.
Local build, CTest and negative control not run I did not compile or execute the relinker.
Author-reported Linux tests passed The author reports 683/683 exact-head tests; I did not reproduce them.
Commands and unedited output

Precheck summary:

diff_check: passed
conventions_and_pr_template: passed
changed_export_abi_audit: not_applicable — No changed source or public header under core/libs/prx.
python_syntax: passed
python_test_registration: passed
live_dependency_and_mergeability_check: passed
build_dependent_cpp_tests: not_applicable — no build was run
test_quality_heuristics: failed — tools/pr_test_quality.py is absent from the isolated PR snapshot
negative_controls: not_applicable — no changed Python test module in tools/ can be run as a no-build base-source control

The test-quality helper was then run from the workspace against the exact-head snapshot:

{
  "findings": [],
  "negative_control_candidates": [],
  "limits": [
    "Heuristics can miss weak assertions and can flag valid tests; inspect every finding.",
    "A test that passes against base is not by itself proof that the PR test is inadequate.",
    "Negative controls are only candidates until the test actually runs against base and fails by assertion rather than import/setup error."
  ]
}

Hosted status at the final refresh:

conventions pending
labels pending
relinker (macos-latest, clang++) pending
relinker (macos-latest, clang++, x86_64) pending
relinker (ubuntu-latest, g++) pending
relinker (windows-latest, g++) pending
relinker-asan pending
linux skipping
register-context skipping
write-watch skipping
eligibility pass
edge-watch skipping
windows skipping

Negative control

I did not run a local control because the test requires an exact-head relinker binary. The author reports that strict mode rejects address 22792 while root mode converts the executable and companion; I did not independently reproduce those runs.

Findings

Blocking

None found in the 28 changed files.

Non-blocking

The new-head relinker matrix, conventions check and label check are still pending. The reported 683-test Linux run is author-provided evidence, not a run I performed.

Sources

Not verified

I did not run a build, relinker tests, the test's negative control, Windows/macOS execution, or PS5 behavior. Hosted relinker jobs remain pending.

To get this to a good state

Please let the queued checks complete and address any failures. I will re-check this head and its results when those checks finish or if the head changes.

Keep every conversion and rejection case while dividing the matrix into four independently timed CTests. Preserve the default full-matrix invocation, native-load checks and existing timeout limits.
@AZLisme

AZLisme commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

@MarcZX10 @oneandonlydean I checked the actual failure in the requested new-head CI. The macOS x86_64 job built successfully and passed 671/672 tests, including all three root-mode groups. Its only failure was guest_none_relocations reaching its 20-second CTest limit at 20.05 seconds, with no assertion failure output. The test runs 216 converter processes; its script and limit were identical to the frozen main input, but a matching main x86_64 baseline result is unknown.

Head fd2d90bf77fa5b1bd0019b39c9af72a59a661aab normally fast-forwards ad9c12659454 with a two-file test-only fix. It divides that same matrix into Linux/Windows/macOS/rejection groups (56/56/56/48 conversions), retaining all assertions, four Linux native-load checks, the ungrouped CLI path and both existing timeout limits. Executed case sets are equivalent, and independent review found no coverage loss. Production code is unchanged.

The exact committed binary passed 686/686 Linux Release CTests, the original ungrouped invocation and conventions/whitespace checks. Tested records the observed timeout and scopes the earlier sfiii check to ad9; no new-head macOS success is assumed. Please re-check this head when its fresh CI completes. I will address any remaining failure before requesting the final merge decision.

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 3, 2026

@XairRrR XairRrR left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — approved

The opt-in --function-symbol-roots mode builds, its new tests pass and fail where they should, and the default strict conversion path is unchanged; I found nothing blocking.

What I ran

Head fd2d90bf77fa5b1bd0019b39c9af72a59a661aab, main 4f41f4c375f5abb487dbd184fbc150f31994d762, merged tree 252127109c2b7452e83afaa79a422568c9b9ab95 (merged with --no-ff). Debian 13 VM, GCC 14.2.0, Release, Ninja, BUILD_TESTING=ON.

git diff --check 4f41f4c375f5abb487dbd184fbc150f31994d762...fd2d90bf77fa5b1bd0019b39c9af72a59a661aab
python3 tools/check_conventions.py --base 4f41f4c375f5abb487dbd184fbc150f31994d762
ctest --test-dir build -j8 --test-load 32 --output-on-failure -R "^(function_symbol_roots_|guest_none_relocations_|gs_trap_entry_roots|windows_tls_protected_entries|tls_function_coverage_)"
ctest --test-dir build -V -R "^(function_symbol_roots_executable|guest_none_relocations_windows)$"
python3 core/relinker/relinker/tests/test_guest_none_relocations.py build/core/relinker/relinker
# negative control (see below)
git show 4f41f4c375f5…:<each changed .cpp/.hpp> > <path>; ninja -C build core/relinker/relinker
python3 core/relinker/relinker/tests/test_function_symbol_roots.py build/core/relinker/relinker {executable,module,rejected}
python3 core/relinker/relinker/tests/test_function_symbol_roots.py build/core/relinker/relinker {executable,module} baseline
# targeted mutation: pass `false` instead of functionSymbolRoots to ExtendControlFlowGraph
python3 core/relinker/relinker/tests/test_function_symbol_roots.py build/core/relinker/relinker rejected
# restore merged files, rebuild, rerun
ctest --test-dir build -j8 --test-load 32 -R "^function_symbol_roots_"
git status --porcelain

Results

Check Result
git diff --check passed, no output
check_conventions.py passed ("All conventions checks passed.")
Configure / build / libs (script) passed
Script test run (826 selected) 823 passed, 2 expected skips, 1 known failure (unwrap_self_UnwrapTest_test_new_output_inherits_the_destination_directory_group, which fails on main too); no new failures or timeouts
function_symbol_roots_{executable,module,rejected} passed (0.19–0.26 s each)
guest_none_relocations_{linux,windows,macos,rejected} passed (0.26–0.51 s each)
Ungrouped test_guest_none_relocations.py (default all) passed
gs_trap_entry_roots, windows_tls_protected_entries, all 34 tls_function_coverage_* passed
Vulkan validation comparison not applicable: no AGC, shader or VideoOut files changed
Focused ctest summary
100% tests passed, 0 tests failed out of 43
Total Test time (real) =  16.52 sec

Negative control

I restored all 24 changed production .cpp/.hpp files from main and rebuilt relinker:

  • All three groups (executable, module, rejected) failed. For example: AssertionError: (... 'overrun-linux-roots/output', 1, '', 'FAIL: unknown option: --function-symbol-roots\n'). On main, the rejected group fails only because the option is unknown.
  • The baseline mode, which runs only the strict-path assertions, passed on main for executable and module. So the fixtures reproduce the strict rejection that the new mode is meant to avoid.

On the merged tree, I also changed only the strictFallThrough argument in CodeInstructionCollector.cpp:542 to false and rebuilt. function_symbol_roots_rejected then failed with AssertionError: ('zero-tail', 'windows', 0, ''), so the new fall-through-through-zero-bytes behaviour is covered.

After restoring the merged files and rebuilding, the three groups pass again, and git status --porcelain is empty.

Findings

Blocking

None.

Non-blocking

  • Strict fall-through also applies after calls, which can reject valid modules in this mode. See core/relinker/relinker/src/analysis/CodeInstructionCollector.cpp:566-571 and core/relinker/relinker/src/analysis/UnusedNidFilter/ControlFlowGraph.cpp:171-174. In root mode, the analysis follows fall-through after Call and IndirectCall, and it no longer trims trailing zero bytes. If a call to a noreturn function is followed by zero padding or non-code, conversion stops with Instruction truncated or fall-through is not executable. This fails closed and only affects the opt-in flag. However, the debt entry (docs/dev/debt/relinker.md:5) lists only unresolved computed jumps as the limit. Suggestion: add one clause to the debt entry saying that noreturn calls are assumed to fall through in this mode.
  • The test split is a separate topic. core/relinker/CMakeLists.txt:649-653 splits guest_none_relocations into four CTests to fix a macOS x86_64 timeout. That test script and its limit are identical on main. The split itself looks correct: the ungrouped invocation still passes locally, and every group finishes in under 1 s here. Still, it is unrelated to function-symbol roots, and CONTRIBUTING asks for one topic per pull request. It is small and test-only, so I am not asking for it to be removed.

Not verified

  • Native Windows and macOS execution. On Linux, the Windows outputs ran through windows_image_runner.py inside the test; the macOS outputs were only checked structurally.
  • The sfiii-ps5 input from #14893: I did not have it, and no title was run.
  • CI timing on macOS x86_64 for the split guest_none_relocations_* tests.
  • The author-reported 686/686 Linux and hosted CI counts.

@TechLevelZero

Copy link
Copy Markdown
Contributor

✅ AMD GPU test: passed

PR head fd2d90b merged onto main 4f41f4c · tested 2026-11-03 10:07 UTC · 16 min

GPU AMD Radeon RX 6300 (RADV NAVI24), driver Mesa 25.2.8-0ubuntu0.24.04.4, Vulkan 1.4.318
Host Ubuntu 26.04.1 LTS, kernel 7.0.0-42-generic, container ubuntu:24.04
Logs build and test logs for this run
Build ✅ passed (Release, -DANYPS5_ENABLE_SPIRV_TOOLS=ON)
Tests ✅ 1,070 passed · 5 failed (0 new, 3 also fail on main, 2 unstable on main) · 6 skipped (ANYPS5_REQUIRE_VULKAN=1)
Test setup CPU-only tests without a GPU; GPU tests (and any CPU-only test that failed or skipped without one) once on the GPU with VK_LAYER_KHRONOS_validation and ANYPS5_NO_SHADER_CACHE=1; main ran the same way
Test selection 1,081 of 3,811 tests run: the ones this change can reach, chosen by tools/select_tests.py from main's build graph
Vulkan validation ✅ no new validation IDs vs main (523 tests run on the GPU)
Slow tests (>30 s, GPU tests timed with validation layers) ⚠️ agc_driver_pipeline_journal 120.3 s, ⚠️ public_headers 54.3 s, ⚠️ agc_driver_image_sample_unnormalized 47.4 s, ⚠️ agc_driver_lazy_resolved_abi 40.3 s, ⚠️ agc_driver_sample_multisample_target 39.9 s
Unstable on main (2, these also failed in recent main runs on this machine; not counted against this PR)
agc_driver_pipeline_journal: failed in 7 of the last 9 main runs
agc_driver_store_over_untracked: failed in 1 of the last 9 main runs
Failing on main too (3, not counted against this PR)
agc_driver_image_table
agc_driver_native_depth_bda_clear
agc_driver_native_multisample_depth
Validation IDs already present on main (4 IDs in 446 tests)
VUID-VkDeviceCreateInfo-pNext-pNext (446 tests): agc_driver_address_passes, agc_driver_alias_copy_label, agc_driver_alpha_to_coverage, agc_driver_array_layer_target, agc_driver_bc_block_copy, agc_driver_bda_anchor_reads, agc_driver_bda_span_reads, agc_driver_bindless_images, and 438 more
VUID-vkCmdCopyImage-srcImage-01548 (8 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_buffer_memory, agc_driver_depth_plane_partial_store, agc_driver_depth_storage_dispatch, agc_driver_depth_surface_from_storage, agc_driver_dispatch_move_depth, agc_driver_stencil_null_feedback, agc_driver_stencil_plane_memory
VUID-vkCmdCopyImage-srcImage-01551 (8 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_buffer_memory, agc_driver_depth_plane_partial_store, agc_driver_depth_storage_dispatch, agc_driver_depth_surface_from_storage, agc_driver_dispatch_move_depth, agc_driver_stencil_null_feedback, agc_driver_stencil_plane_memory
VUID-VkPipelineColorBlendStateCreateInfo-pAttachments-00605 (1 test): agc_driver_srgb8_color_target
Skipped (6)
agc_driver_copied_writer_label_order: skipped, the device reports a minStorageBufferOffsetAlignment of 4, so the dispatch binds its record at +0x1004 in place and nothing is written back; the test needs an alignment above 4
agc_driver_float16_unused_nan_payloads: skipped, the device has no native f16 conversions with RTE rounding and kept f16 denormals
agc_driver_linear_target_direct_write_completion: skipped, the device does not keep host imports write-watched, so no completion stamp over the target is tracked
agc_driver_ngg_vertex_wave_reduction: skipped, s3 describes a 32-lane wave only on 32-lane subgroups, and the device has 64 lanes
agc_driver_scattered_runs: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_driver_sparse_dma_buf_import: skipped, host imports are unavailable: /dev/udmabuf is not accessible
Reproduce
git fetch origin fd2d90bf77fa5b1bd0019b39c9af72a59a661aab 4f41f4c375f5abb487dbd184fbc150f31994d762
git checkout 4f41f4c375f5abb487dbd184fbc150f31994d762 && git merge --no-ff fd2d90bf77fa5b1bd0019b39c9af72a59a661aab
git submodule update --init --recursive
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON
cmake --build build && cmake --build build --target libs
VK_DRIVER_FILES=/nonexistent/icd.json ctest --test-dir build -E '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 12 --output-on-failure
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation \
  ctest --test-dir build -R '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 16 --output-on-failure
# failures are then re-run alone: --timeout 360 --parallel 2; new validation IDs: the test alone, twice, --parallel 1

Automated build and test on a contributor's AMD machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs.

@AZLisme

AZLisme commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

@XairRrR the noreturn-call limitation you identified is now recorded in docs/dev/debt/relinker.md at 59e8f2e00e477f1a3dd4e656de0408498887d3c5. This follow-up changes only that documentation entry; production and test sources remain identical to fd2d90bf77.

@MarcZX10 @oneandonlydean the requested fresh platform run completed successfully for fd2 merged with frozen main 4f41f4c375f5: Linux 686, Windows 690, macOS ARM64 675 and macOS x86_64 675 tests passed, without failures or skips. All three root-mode groups and all four relocation shards passed. On the previously affected x86_64 lane, the shards took 3.97/4.94/5.08/2.65 seconds under their unchanged 20-second limits. The separate ASan lane passed its 34 TLS tests, not the new root-mode groups.

I waited for that run to finish before publishing the one-entry documentation follow-up. Tested explicitly attributes these results to fd2; it does not claim execution of a new 59e binary. Conventions and whitespace checks pass. Please review the documentation delta and merge if satisfied, or identify a concrete remaining condition. My upstream permission remains READ.

@AZLisme

AZLisme commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

@MarcZX10 @oneandonlydean the fresh platform run for the actual current head has now completed successfully: 59e8f2e00e477f1a3dd4e656de0408498887d3c5 merged with frozen main 4f41f4c375f5.

Actual logs confirm Linux 686, Windows 690, macOS ARM64 675 and macOS x86_64 675 tests passed, with no failures or skips. All three root-mode groups and all four relocation shards ran in each lane. The previously affected x86_64 shards now pass in 3.75/5.37/5.61/3.64 seconds under their unchanged 20-second limits. ASan separately passed its 34 TLS tests only. These are new 59e results, not the earlier fd2 results.

The noreturn debt clarification is included, the reviewer found no blocking code issue, and the complete template/current-source verification is updated. Please complete the actual merge, or identify a concrete remaining condition. My upstream permission is still READ.

@XairRrR XairRrR left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-checked — approved

The only change since my last review (fd2d90bf77fa) is commit 59e8f2e00e47, which rewrites one debt entry to record the noreturn-call limitation I raised. Production and test sources are unchanged, and the checks and focused tests still pass.

What changed since my last review

  • 59e8f2e00e47 docs(relinker): record noreturn call analysis limit changes one line in docs/dev/debt/relinker.md, and nothing else (git diff --stat fd2d90bf77fa..59e8f2e00e47: 1 file, +1 −1).
  • The author's comments report hosted CI runs for fd2d90bf77fa and for 59e8f2e00e47, both merged with main 4f41f4c375f5: Linux 686, Windows 690, macOS ARM64 675 and macOS x86_64 675 tests passed. I treat these numbers as author-reported. The Tested section was updated to match.

What I ran

Head 59e8f2e00e477f1a3dd4e656de0408498887d3c5, main 4f41f4c375f5abb487dbd184fbc150f31994d762, merged tree db1bb0df9064f93453080ac51669841c31cfd5fa. Debian 13 VM, GCC 14.2.0, Release, Ninja, BUILD_TESTING=ON.

git show 59e8f2e00e477f1a3dd4e656de0408498887d3c5 --stat -p
git diff --stat fd2d90bf77fa5b1bd0019b39c9af72a59a661aab 59e8f2e00e477f1a3dd4e656de0408498887d3c5
git diff --check 4f41f4c375f5abb487dbd184fbc150f31994d762...59e8f2e00e477f1a3dd4e656de0408498887d3c5
python3 tools/check_conventions.py --base 4f41f4c375f5abb487dbd184fbc150f31994d762
ctest --test-dir build -j8 --test-load 32 --output-on-failure -R "^(function_symbol_roots_|guest_none_relocations_)"
git status --porcelain
Check Result
git diff --check passed, no output
check_conventions.py passed ("All conventions checks passed.")
Configure, build and libs (script) passed
Script test run (826 selected tests) 823 passed, 2 expected skips, 1 known failure (unwrap_self_UnwrapTest_test_new_output_inherits_the_destination_directory_group, which also fails on main); no new failures or timeouts
function_symbol_roots_* (3) and guest_none_relocations_* (4) 7/7 passed, 0.18–0.49 s each

I did not rerun the negative control. The tests and production sources are byte-identical to fd2d90bf77fa, where the control already failed as expected (see my previous review).

Previous findings

  • Non-blocking: strict fall-through after calls is not documented. Resolved. docs/dev/debt/relinker.md:5 now says: "Calls, including indirect calls, are assumed to return, so a noreturn call followed by zero padding or non-code can be rejected." This matches the behaviour I described. The entry now states the gap first, as CONTRIBUTING asks.
  • Non-blocking: the guest_none_relocations split is a separate topic. Still open, but I accept it as is. It is unchanged since my last review, and the author's CI report says it removed the macOS x86_64 timeout. I am not asking for a change.

New findings

Blocking

None.

Non-blocking

None.

Not verified

  • Native Windows and macOS execution of the converted outputs.
  • The sfiii-ps5 input from #14893: I did not have it, and no title was run.
  • The hosted CI counts and macOS x86_64 timings, which are author-reported.

@johnohhh1

Copy link
Copy Markdown
Contributor

Independent Linux validation of head 59e8f2e00e477f1a3dd4e656de0408498887d3c5, merged into main 1c8c0efc8c41314402e6966da5bef6ea3d639d10 (local integration 21046728a28cdc651cfaea8b88c126b16a472201).

Release relinker-only build succeeded on Linux x86_64, GCC 15.2.0, Python 3.14.4. The complete registered CTest set passed 686/686, with no failures or skips, including all three function-symbol-root groups and all four no-op relocation groups. Conventions and whitespace checks passed. Initial test runs hit sandbox permissions and missing CTest/Ninja on PATH; those were corrected before the clean full run above.

I also checked the unchanged public sfiii-ps5 v1.0.0 package from #14893, SHA-256 632efadfaf9f6e73316c51268813719fa42f277a482144ae3c225894259af1b2, after unwrapping its executable and companion:

Output target Default strict mode --function-symbol-roots
Linux ELF exit 2, no executable exit 0, executable + one companion
Windows PE exit 2, no executable exit 0, executable + one companion
macOS Mach-O exit 2, no executable exit 0, executable + one companion

All strict runs reject the companion at the reported address 22792. All six conversions were performed on Linux. This does not claim Windows/macOS execution, title gameplay, or console testing; no disc images were supplied.

AI-assisted: yes (Codex); results are from this machine.

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 4, 2026
@TechLevelZero

Copy link
Copy Markdown
Contributor

✅ AMD GPU test: passed

PR head 59e8f2e merged onto main 1c8c0ef · tested 2026-11-04 06:10 UTC · 21 min

GPU AMD Radeon RX 6300 (RADV NAVI24), driver Mesa 25.2.8-0ubuntu0.24.04.4, Vulkan 1.4.318
Host Ubuntu 26.04.1 LTS, kernel 7.0.0-42-generic, container ubuntu:24.04
Logs build and test logs for this run
Build ✅ passed (Release, -DANYPS5_ENABLE_SPIRV_TOOLS=ON)
Tests ✅ 1,069 passed · 4 failed (0 new, 3 also fail on main, 1 unstable on main) · 8 skipped (ANYPS5_REQUIRE_VULKAN=1)
Test setup CPU-only tests without a GPU; GPU tests (and any CPU-only test that failed or skipped without one) once on the GPU with VK_LAYER_KHRONOS_validation and ANYPS5_NO_SHADER_CACHE=1; main ran the same way
Test selection 1,081 of 3,842 tests run: the ones this change can reach, chosen by tools/select_tests.py from main's build graph
Vulkan validation ✅ no new validation IDs vs main (523 tests run on the GPU)
Slow tests (>30 s, GPU tests timed with validation layers) ⚠️ agc_driver_pipeline_journal 120.1 s, ⚠️ public_headers 60.6 s
Unstable on main (1, these also failed in recent main runs on this machine; not counted against this PR)
agc_driver_pipeline_journal: failed in 8 of the last 10 main runs
Failing on main too (3, not counted against this PR)
agc_driver_image_table
agc_driver_native_depth_bda_clear
agc_driver_native_multisample_depth
Validation IDs already present on main (8 IDs in 446 tests)
VUID-VkDeviceCreateInfo-pNext-pNext (446 tests): agc_driver_address_passes, agc_driver_alias_copy_label, agc_driver_alpha_to_coverage, agc_driver_array_layer_target, agc_driver_bc_block_copy, agc_driver_bda_anchor_reads, agc_driver_bda_span_reads, agc_driver_bindless_images, and 438 more
VUID-vkCmdCopyImage-srcImage-01548 (4 tests): agc_driver_depth_clear_hle, agc_driver_depth_storage_dispatch, agc_driver_depth_surface_from_storage, agc_driver_dispatch_move_depth
VUID-vkCmdCopyImage-srcImage-01551 (4 tests): agc_driver_depth_clear_hle, agc_driver_depth_storage_dispatch, agc_driver_depth_surface_from_storage, agc_driver_dispatch_move_depth
VUID-VkPipelineColorBlendStateCreateInfo-pAttachments-00605 (1 test): agc_driver_srgb8_color_target
VUID-VkSamplerCreateInfo-addressModeU-01079 (1 test): agc_driver_image_gather_volume
VUID-VkSamplerCreateInfo-addressModeU-parameter (1 test): agc_driver_image_gather_volume
VUID-VkSamplerCreateInfo-addressModeV-parameter (1 test): agc_driver_image_gather_volume
VUID-VkSamplerCreateInfo-addressModeW-parameter (1 test): agc_driver_image_gather_volume
Skipped (8)
agc_driver_copied_writer_label_order: skipped, the device reports a minStorageBufferOffsetAlignment of 4, so the dispatch binds its record at +0x1004 in place and nothing is written back; the test needs an alignment above 4
agc_driver_float16_unused_nan_payloads: skipped, the device has no native f16 conversions with RTE rounding and kept f16 denormals
agc_driver_gcn_display_present: skipped, no display: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
agc_driver_linear_target_direct_write_completion: skipped, the device does not keep host imports write-watched, so no completion stamp over the target is tracked
agc_driver_ngg_vertex_wave_reduction: skipped, s3 describes a 32-lane wave only on 32-lane subgroups, and the device has 64 lanes
agc_driver_scattered_runs: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_driver_sparse_dma_buf_import: skipped, host imports are unavailable: /dev/udmabuf is not accessible
Reproduce
git fetch origin 59e8f2e00e477f1a3dd4e656de0408498887d3c5 1c8c0efc8c41314402e6966da5bef6ea3d639d10
git checkout 1c8c0efc8c41314402e6966da5bef6ea3d639d10 && git merge --no-ff 59e8f2e00e477f1a3dd4e656de0408498887d3c5
git submodule update --init --recursive
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON
cmake --build build && cmake --build build --target libs
VK_DRIVER_FILES=/nonexistent/icd.json ctest --test-dir build -E '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 12 --output-on-failure
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation \
  ctest --test-dir build -R '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 16 --output-on-failure
# failures are then re-run alone: --timeout 360 --parallel 2; new validation IDs: the test alone, twice, --parallel 1

Automated build and test on a contributor's AMD machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs.

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 5, 2026
@AZLisme

AZLisme commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor Author

@XairRrR @oneandonlydean current head bb619a8abbc5ded501c4f368c61d3616e493922f preserves frozen main 1e24993fa3a7da25e8fc27152af654687ba64552 and resolves the new conflicts via a normal fast-forward push.

The integration exposed a real interaction with main's new Windows executable exports: the export writer checked the full function size again after roots mode accepted it. I reproduced that failure, propagated the option to the export writer, and added a regression for the exact export address/code bytes. Strict mode still rejects oversized function metadata; data and TLS overruns remain rejected in both modes. Main's output name, executable exports and TLS index are retained. The main plain/SCE split and target/rejection split now coexist as eight groups with all 216 conversions, four Linux native loads, assertions and original timeouts preserved.

Current Linux Release validation passed all 717 registered tests, after correcting 14 tool/sandbox environment failures without changing source or assertions. The public sfiii input also reproduced strict exit 2 at address 22792 versus roots exit 0 and executable+one companion for all three output targets; these were conversions on Linux, not gameplay. Current-head upstream matrix has completed: Linux 717/717, macOS ARM64 706/706, macOS x86-64 under Rosetta 706/706 and TLS-only ASan 34/34 passed. Windows passed 720/721; its sole failure was web_release at the unchanged 20-second timeout (20.24 seconds observed). The three roots groups, eight None groups and executable-export test passed on Windows. The packaging test, registration/timeout and tools it exercises are identical to frozen main; no same-runner baseline failure is established, so I am not classifying this as a flake. Conventions pass.

Please review this integration delta. @oneandonlydean please rerun the failed current-head Windows job, or identify a concrete change needed for that timeout. My READ permission cannot rerun upstream Actions. The separate exact-head Windows diagnostic has now passed the original web_release CTest in 3.17 seconds under its unchanged 20-second limit, with all 34 internal tests passing. That isolated run did not reproduce the suite’s concurrent load and does not erase the upstream failure. Please merge when the remaining requirements are satisfied. Earlier execution results keep their original scope. My upstream permission remains READ.

@oneandonlydean oneandonlydean self-assigned this Nov 6, 2026
@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 6, 2026
Resolve the test_guest_none_relocations.py conflict with main: keep the per-target test groups and run main's macOS and Windows rejected-image cases in the rejected group.
@oneandonlydean

Copy link
Copy Markdown
Collaborator

Hi @AZLisme, thanks for the function-symbol root analysis. We merged the latest main on top to clear the one conflict, in test_guest_none_relocations.py: your per-target test groups are kept, and main's new macOS and Windows rejected-image cases now run in the rejected group next to the Linux ones. Nothing else in your changes was touched. Thanks!

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 7, 2026
@oneandonlydean
oneandonlydean merged commit 243f857 into boykopovar:main Nov 7, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build docs fix error Closes an issue (Fixes #N) relinker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

relinker: sfiii-ps5 (PPSA93303) companion libc.prx is refused because its function st_size values are the real libc sizes, not the stub sizes

6 participants